package com.management.demo.dto.mall;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description = "添加/修改分类")
public class PmsCategoryDTO {

    @Schema(description = "分类id")
    private Long catId;

    @Schema(description = "分类名称")
    private String name;

    @Schema(description = "父分类id")
    private Long parentCid;

    @Schema(description = "层级")
    private Integer catLevel;

    @Schema(description = "排序")
    private Integer sort;

    @Schema(description = "图标地址")
    private String icon;

    @Schema(description = "计量单位：个、辆、件等")
    private String productUnit;

    @Schema(description = "商品数量")
    private Integer productCount;

    @Schema(description = "是否展示：0-不展示；1-展示")
    private Integer showStatus;
}
